package com.ccx.myinterpreter;
public enum TokenType {
    /* 单字符 */
    SEMICOLON, COMMA, DOT, LEFT_PAREN, RIGHT_PAREN,
    LEFT_BRACE, RIGHT_BRACE, PLUS, MINUS, STAR, SLASH,

    /* 1或2个字符 */
    BANG, BANG_EQUAL,
    EQUAL, EQUAL_EQUAL,
    GREATER, GREATER_EQUAL,
    LESS, LESS_EQUAL,

    /* 标识符，如变量名 */
    IDENTIFIER,

    /* 字面量，如字符串 */
    NUMBER, STRING, TRUE, FALSE,
    
    /* 关键字 */
    VAR, FUN, CLASS, IF, ELSE, FOR, WHILE, RETURN, AND, OR, THIS, SUPER, NIL, PRINT
}
